import PrimesNumbers.PrimeNumber;
import org.junit.Test;

import static org.junit.Assert.assertEquals;

public class PrimeFactorTest {

    PrimeNumber primeNumber= new PrimeNumber();

    @Test
    public void test1_should_checkTheGeneratedPrimeNumber()
    {
        assertEquals("1 2 3 5", primeNumber.generatePrimeNumber(5));
        assertEquals("1 2 3 5 7", primeNumber.generatePrimeNumber(7));
        assertEquals("1 2 3 5 7 11 13", primeNumber.generatePrimeNumber(13));

    }
}
